package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 角色管理 实体类
 *
 * @author magic
 */
@Data
@TableName("nova_role")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "Role对象")
public class RoleEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 角色名称
	 */
    @Schema(description = "角色名称")
    @TableField("role_name")
	private String roleName;

}
